Skip to main content

Full text of "Arduino"

See other formats


Arduino Morse-Maker 



I 



Make Projects 



build, hack, tweak, share, discover. 



Arduino Morse-Maker 



Written By: Wesley La Ferriere 



O PARTS: 



Arduino Uno (1) 



SUMMARY 

This is a fun and educational project. With this project you can learn the basics of Arduino 
serial coding, which enables your computer to interact with your Arduino via USB. Plus, you 
can Morse out a distress signal, which may save you sometime. 



© Make Projects www.makeprojects.com Page 1 of 5 



Arduino Morse-Maker 







• First, you must gather all of the 
parts needed. All you need is the 
following: 

• An Arduino; any type will work. 

• A computer with an Internet 
connection. 

• Optional: An LED. 

• Basic knowledge of the Arduino is 
recommended. 




^ Sketch | Arduino 0022 
File Edit Sketch Teds Help 



)QOS£| 




Done Saving. 




Next, download the Arduino 
software. Really easy. 

Plug in your Arduino and begin 
coding. 



© Make Projects 



www.makeprojects.com 



Page 2 of 5 



Arduino Morse-Maker 




^> Sketch | Arduino 0022 
File Edit Sketch Tod* Help 

IhIhT 



"b~)E1 





■lavlabl 
blavlaBl 
Blavlabl 
blavlaBl 
Blavlabl 
blavlaBl 
Blavlabl 
blavlaBl 
Blavlabl 
blavlaBl 
Blavlabl 



avlaBlav 
avlablav 
avlaBlav 
avlablav 
avlaBlav 
avlablav 
avlaBlav 
avlablav 
avlaBlav 
avlablav 
avlaBlav 



lablavlaBlavla 
laBlavlablavla 
lablavlaBlavla 
laBlavlablavla 
lablavlaBlavla 
laBlavlablavla 
lablavlaBlavla 
laBlavlablavla 
lablavlaBlavla 
laBlavlablavla 
lablavlablavla 



_ 



Done Saving. 




• Now, to code, go to this link, and I 
will go through it. 

• https://docs.google.eom/document/d/1 S- 
so... 

• Now, the setup, is just that. 

• You see all of the Serial.??? stuff? 
Well, that is coding up a way to 
communicate with the computer. 

• and most commonly, you see that 
it says a bunch of "If" statments, 
like val == 'a'... Well basically, we 
are saying, if val = 'a' then do this, 
which, we blink and led to a certain 
beat, or morse out a signal. And 
basically, that's it. 





This is optional, but if you want to 
see a greater light than the one 
built in on the Arduino board, hook 
up an LED on pin thirteen. 



© Make Projects 



www.makeprojects.com 



Page 3 of 5 



Arduino Morse-Maker 





Now, upload the sketch, and go to 
tools, and serial monitor on the 
Arduino programming program. 
Type whatever you want, and it wi 
Morse it out. 

Note: This will be limited to letters, 
and nothing else is on there. So 
adjust it to do that. 



© Make Projects 



www.makeprojects.com 



Page 4 of 5 



Arduino Morse-Maker 





As you can see, this will get boring, 
so here is a thing or two you can 
do to perfect this project or add to 
it. 

Add a pot! What if a pot controlled 
a variable, and that variable was 
used for timing? Thanks to Ben 
Hovinga for this idea. 

What if this controlled more than an 
LED? Maybe some solenoids? 
Motors? Or even less casual, a 
speaker? 

What if we added a display, and 
took away the computer part of this 
project? 

How about combining it all? 

These are all different ideas, but 
there are millions of things you can 
add. Be creative, and go make 
something. 



This document was last generated on 201 2-1 1 -03 03:09:36 AM. 



© Make Projects 



www.makeprojects.com 



Page 5 of 5